package com.example.gw_back_end.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.gw_back_end.domain.PageResult;
import com.example.gw_back_end.domain.entities.Warehouse;

public interface WarehouseService extends IService<Warehouse> {

    boolean addWarehouse(Warehouse warehouse);

    boolean deleteWarehouse(Integer Id);

    boolean updateWarehouse(Warehouse warehouse);

    Warehouse getWarehouseById(Integer id);

    PageResult<Warehouse> getAllWarehouses();
}
